﻿using System;
using System.Xml.Serialization;


namespace Kotonoha.Objects.Model {
    /// <summary>
    /// Represents a japanese kanji with meanings, readings and other information
    /// </summary>
    public class Kanji {
        [XmlAttribute]
        public long Id { get; set; }

        [XmlAttribute]
        public string Character { get; set; }
        public string[] Onyomis { get; set; }
        public string[] Kunyomis { get; set; }
        public string[] Meanings { get; set; }

        [XmlAttribute]
        public int Strokes { get; set; }

        [XmlAttribute]
        public DateTime AddedDate { get; set; }
    }
}